#!/usr/bin/env python

import sys
from tools import traceroute
from time import time

def ej2(host):
	res = traceroute(host)
	
	for r in res:
		print r


if __name__ == "__main__":
	if len(sys.argv) < 2:
		print "ejercicio2.py [host]"
		exit()
	
	host = sys.argv[1]

	ej2(host)
